﻿#region Using namespaces

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using BOL.Apps.GeneNetworkBrowser.Analysis;

#endregion

namespace BOL.Apps.GeneNetworkBrowser.ViewModels
{
    public sealed class AnalysisTreeViewItemViewModel : TreeViewItemViewModel
    {
        #region TreeViewItemViewModel implementation

        private readonly IAnalysis _analysis;

        public AnalysisTreeViewItemViewModel(IAnalysis analysis, AnalysesTreeViewItemViewModel vmAnalyses)
            : base(vmAnalyses, false)
        {
            _analysis = analysis;
            //_title = _analysis.Name;
        }

        public AnalysisTreeViewItemViewModel(IAnalysis analysis)
            : base(null, false)
        {
            _analysis = analysis;
            //_title = _analysis.Name;
        }

        #endregion
    }
}
